var mongoose = require('./db.js');
var schema = mongoose.Schema; 

var userSchema = new schema({
    username:String,
    userpwd:String,
    type:Number,
    pid:String,  //从属关系
    img:String
},{versionKey:false})

module.exports = mongoose.model("userinfos", userSchema);
